projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee02b9a
)
Fix infinite recursion in CargoError impl for Box<CargoError>
author
Brian Koropoff
<bkoropoff@gmail.com>
Sun, 28 Sep 2014 21:39:06 +0000
(14:39 -0700)
committer
Brian Koropoff
<bkoropoff@gmail.com>
Sun, 28 Sep 2014 21:39:06 +0000
(14:39 -0700)
Insert necessary explicit derefs.
src/cargo/util/errors.rs
patch
|
blob
|
history
diff --git
a/src/cargo/util/errors.rs
b/src/cargo/util/errors.rs
index c9e3a5ae2a84d42f714388c217ec183cefc0f6db..594ea8ad990dd13eaa5c7238f71f3e0f00fc104d 100644
(file)
--- a/
src/cargo/util/errors.rs
+++ b/
src/cargo/util/errors.rs
@@
-76,19
+76,19
@@
impl Show for Box<CargoError + Send> {
impl CargoError for Box<CargoError + Send> {
fn description(&self) -> String {
- (*self).description()
+ (*
*
self).description()
}
fn detail(&self) -> Option<String> {
- (*self).detail()
+ (*
*
self).detail()
}
fn cause(&self) -> Option<&CargoError> {
- (*self).cause()
+ (*
*
self).cause()
}
fn is_human(&self) -> bool {
- (*self).is_human()
+ (*
*
self).is_human()
}
fn box_error(self) -> Box<CargoError + Send> {